from django.conf.urls import url

from student import views

urlpatterns = [
    url(r'^$', views.stu_my_classes, name='stu_my_classes'),    # 显示所有参加的班级
    url(r'^studyrecords/(?P<enrollment_id>\d+)/$', views.studyrecords, name='studyrecords'),    # 显示学习记录
    url(r'^homework_detail/(?P<studyrecord_id>\d+)/$', views.homework_detail, name='homework_detail'),    # 作业详情
    url(r'^delete_homework/(?P<studyrecord_id>\d+)/(?P<filename>.*)',views.delete_homework,name='delete_homework')
]
